package com.dds.system.domain.sys;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dds.common.annotation.Excel;
import com.dds.common.core.domain.BaseEntity;

/**
 * 数据分类对象 sys_dic
 * 
 * @author gaolianjie
 * @date 2021-04-12
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor(staticName = "of",force = true)
public class SysDic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long dicId;

    /** 分类id */
    @Excel(name = "分类id")
    private Long categoryId;

    /** 父ID，无父级为0 */
    @Excel(name = "父ID，无父级为0")
    private Long dicPid;

    /** 按分类id+层级+dic_id */
    @Excel(name = "按分类id+层级+dic_id")
    private String dicCode;

    /** 值 */
    @Excel(name = "值")
    private String dicValue;

    /** 描述 */
    @Excel(name = "描述")
    private String dicRemark;

    /** 层级 */
    @Excel(name = "层级")
    private String level;

    /** 字典排序 */
    @Excel(name = "字典排序")
    private String dicSort;

    /** 是否有子级:1:有；2：没有 */
    @Excel(name = "是否有子级:1:有；2：没有")
    private Long haveChildren;


}
